QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    Application.cpp \
    DataSettings.cpp \
    DetectPal.cpp \
    DialogBase.cpp \
    DialogGroup.cpp \
    DialogPeer.cpp \
    HelpDialog.cpp \
    LogSystem.cpp \
    LogSystemTest.cpp \
    MainWindow.cpp \
    RevisePal.cpp \
    ShareFile.cpp \
    SoundSystem.cpp \
    StatusIcon.cpp \
    TransWindow.cpp \
    UiCallbacks.cpp \
    UiCoreThread.cpp \
    UiCoreThreadTest.cpp \
    UiHelper.cpp \
    UiModels.cpp \
    UiProgramData.cpp \
    UiProgramDataTest.cpp \
    WindowConfig.cpp \
    callback.cpp \
    core/CoreThread.cpp \
    core/CoreThreadTest.cpp \
    core/Event.cpp \
    core/Exception.cpp \
    core/IptuxConfig.cpp \
    core/IptuxConfigTest.cpp \
    core/Models.cpp \
    core/ModelsTest.cpp \
    core/ProgramData.cpp \
    core/ProgramDataTest.cpp \
    core/TestHelper.cpp \
    core/TestMain.cpp \
    core/TransFileModel.cpp \
    core/UtilsTest.cpp \
    dialog.cpp \
    global.cpp \
    internal/AnalogFS.cpp \
    internal/Command.cpp \
    internal/CommandMode.cpp \
    internal/CommandModeTest.cpp \
    internal/RecvFile.cpp \
    internal/RecvFileData.cpp \
    internal/SendFile.cpp \
    internal/SendFileData.cpp \
    internal/TcpData.cpp \
    internal/TransAbstract.cpp \
    internal/UdpData.cpp \
    internal/UdpDataTest.cpp \
    internal/support.cpp \
    iptux.cpp \
    main.cpp \
    mainwindow.cpp \
    support.cpp \
    utils.cpp \
    utils/output.cpp \
    utils/utils.cpp

HEADERS += \
    AnalogFS.h \
    Application.h \
    Command.h \
    CommandMode.h \
    Const.h \
    CoreThread.h \
    DataSettings.h \
    DetectPal.h \
    DialogBase.h \
    DialogGroup.h \
    DialogPeer.h \
    Event.h \
    Exception.h \
    HelpDialog.h \
    IptuxConfig.h \
    LogSystem.h \
    MainWindow.h \
    Models.h \
    ProgramData.h \
    RecvFile.h \
    RecvFileData.h \
    RevisePal.h \
    SendFile.h \
    SendFileData.h \
    ShareFile.h \
    SoundSystem.h \
    StatusIcon.h \
    TcpData.h \
    TestHelper.h \
    TransAbstract.h \
    TransFileModel.h \
    TransWindow.h \
    UdpData.h \
    UiCallbacks.h \
    UiCoreThread.h \
    UiHelper.h \
    UiModels.h \
    UiProgramData.h \
    WindowConfig.h \
    callback.h \
    config.h \
    core/Const.h \
    core/CoreThread.h \
    core/Event.h \
    core/Exception.h \
    core/IptuxConfig.h \
    core/Models.h \
    core/ProgramData.h \
    core/TestHelper.h \
    core/TransFileModel.h \
    dialog.h \
    global.h \
    internal/AnalogFS.h \
    internal/Command.h \
    internal/CommandMode.h \
    internal/RecvFile.h \
    internal/RecvFileData.h \
    internal/SendFile.h \
    internal/SendFileData.h \
    internal/TcpData.h \
    internal/TransAbstract.h \
    internal/UdpData.h \
    internal/ipmsg.h \
    internal/support.h \
    ipmsg.h \
    mainwindow.h \
    output.h \
    support.h \
    utils.h \
    utils/output.h \
    utils/utils.h

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    qtiptux.pro.user
